Week 1:Principles and Practices, Project management

After my first Class on 25 Jan 2017 i was very excited to explore about assignment. Creating a webpage was again a new thing for me. I asked some of my friends how to start the show. I refer HTML pages from some website like w3 school, css and preferred to do html coading.

I made very basic HTML page initially like below.All these snapshot are taken while working on Code Academy . Working on html pages using Code Academy is very easy as both the coding window and wepage are displayed simulatnouesly.


After having basic idea about HTML I started to write HTML page for my webpage. After surfing on google for syntaxes for how to put images, how to aling text…..like wise

I developed other HTML page,screen shot are given below.



For my rest of weeks i will be using gedit to write my html codes. "gedit" is a platfrom in the linux operating system to write text files.Below you can find the snapshot of the html code written in gedit.

Starting with Git

Millions of people use GitHub to build personal projects, support their business and work together on open source technologies.

As told by local instructor (Mr. Puneet) to go through the Linux command line as this was the first time for me to use Linux.

I followed the following tutorail to learn linux basic command lines

https://www.linux.com/learn/how-use-linux-command-line-basics-cli.

First I started learning about basic Linux command lines from various sources globally available.

Git Installation

Setting up GIT account

Step 1: Open the following page to setup git account using Fablabs.

Step 2: Next step is to click on Not yet a member?Sign up.

Step 3: Then provide the details and clcik on signup

Step 4: Now your account is ready. As we can see the various options available to us one of them is activity. Under activity we can see the details of actions performed on git.

Git Configuration

Then I learned how to upload the documents on Git. The steps are shown below


Step 1:Cloning a repository

Command used: git clone

When you create a repository on GitHub, it exists as a remote repository. You can clone your repository to create a local copy on your computer and sync between the two locations.



Step 2:Pull

Command used: git pull

Incorporates changes from a remote repository into the local drive.

First go to the directory from which you have to upload the data using change drive (cd) command line then add the content in repository.



Step 3:Add

Command used: git add --all



Step 4:Status

Command used: git status

As we have seen in above screen shot nothing is given by terminal so it is recommended to check the git status

This is not the necessary step, but it is recommended. It is a diagonistic to repository.


These red lines are because of modifications done by me after Step 3. In the above red marks git is indicating that there are some untracked files. To resolve this again go to step 3 add it then check the status again.



Step 5:Commit

Command used: git commit -m "meaningful message"

Stores the current contents of the index in a new commit along with a log message from the user describing the changes.



Step 6:Push

Command used: git push

Updates remote refs using local refs, while sending objects necessary to complete the given refs. While pushing it will ask for username and password

To avoid using Username and Password use SSH keys.



Steps for Using SSH Keys

I followed this tutorial to learn, configure SSH keys. You can go through this tutorial to do the following steps

Step 1:Generating SSH key

a)Open Terminal.

b)Paste the text below, substituting in your GitHub email address.

Step 2:Adding SSH keys to SSH agent

Step 3:Add SSH keys to git lab



Project Proposal

I want to make a project which can be used at offices to make the work more comfortable. I'va decided to make a SMART CURTAINS

I have finalized this project after discussing with my instructor Mr. Puneet. Final discussion ended after seeing the involvement of material, machines, electronics gadget and market value for this project.

Project Sketch

This alarm system will help to wake you up. The curtains will be open and sunlight will be in during the alarm time. The output device will be stepper motor and input device will be DS3231 real time clock. According to the set alarm the motor will actuate and it will open the curtains.

Project Progress